import "./assets/main.css";

import { createApp } from "vue";

// 引入 router
import router from "./router";

import App from "./App.vue";

// createApp(App).use(router).mount("#app");

const app = createApp(App);
// 注册插件，PS: 与注册全局组件一样，需要放置在 mount() 之前
app.use(router);
app.mount("#app");
